<?php
namespace App\Http\Controllers;

use Illuminate\Http\Request;

use App\Http\Requests;

use DB;
class PhotoController extends Controller
{
	public function index()
	{
		return "aaa";
	}

	public function test(){
		return "test";
	}
	//查询数据库
	public function getList()
	{
		
		$data = DB::table('new')->get();
		dd($data);
	}
}